#include "StdAfx.h"
#include "mayday.h"
#include "defender.h"					//for input ports
#include "machine/defendermachine.h"

static highscore_t highscore[] =
	{
//	{0xB260,0x3C,0x00,0x55},
	{0,-1}
	};

Cmayday::Cmayday()
{
SetName("mayday");						//set romset name
SetFlags(F_MAYDAYPROTECTION);			//use mayday protection
SetScreen(304,256);
SetPort(0,&defenderPort1);
SetPort(1,&defenderPort2);
SetPort(2,&defenderPort3);
SetHighScoreInfo(highscore);
AddROM("ic03-3.bin",	0xD000,0x1000,0xa1ff6e62,ROM_CPU1);
AddROM("ic02-2.bin",	0xE000,0x1000,0x62183aea,ROM_CPU1);
AddROM("ic01-1.bin",	0xF000,0x1000,0x5dcb113f,ROM_CPU1);
AddROM("ic04-4.bin",	0x10000,0x1000,0xea6a4ec8,ROM_CPU1);
AddROM("ic05-5.bin",	0x11000,0x1000,0x0d797a3e,ROM_CPU1);
AddROM("ic06-6.bin",	0x12000,0x1000,0xee8bfcd6,ROM_CPU1);
AddROM("ic07-7d.bin",0x16000,0x1000,0xd9c065e7,ROM_CPU1);
AddROM("ic28-8.bin",	0xF800,0x0800,0xfefd5b48,ROM_CPU2);
}

CMachine *Cmayday::CreateMachine()
{
return(new CDefenderMachine());
}
